<!--
 * @Author: @yzcheng
 * @Date: 2021-03-18 16:18:18
 * @Version: 1.0
 * @LastEditors: @yzcheng
 * @Description: 
 * @LastEditTime: 2021-03-31 18:35:26
-->
<template>
  <div class="already">
    <!-- <el-table :data="alreadyList" @row-click="onShow" border style="width: 100%">
      <el-table-column prop="createTime" label="日期"> </el-table-column>
      <el-table-column prop="processInstanceName" label="实例名称"> </el-table-column>
      <el-table-column prop="userCode" label="姓名"> </el-table-column>
    </el-table> -->
    <read :isOut="false"></read>
  </div>
</template>

<script>
import read from "@/views/homePage/read.vue";

import { mapState, mapActions } from 'vuex'
export default {
  inject: ['onShow'],
  data() {
    return {}
  },

  components: {read},

  computed: {
    alreadyList() {
      return this.readingList?.records?.filter((item) => item.readFlag === 1)
    },
    ...mapState('readingStore', ['readingList']),
  },

  // mounted() {},

  methods: {},
}
</script>
<style lang="scss" scoped>
.already {
  width: 100%;
  height: calc(100vh - 200px);
}
</style>
